<template>
  <div class="project-box">
    <list
      :data="data"
      :newprojectdata="newprojectdata"
      v-bind="$attrs"
      v-on="$listeners"
    ></list>
  </div>
</template>

<script>
import list from "./list";
export default {
  props: {
    data: Object, // 用于list组件数据传递
    newprojectdata: Object,
  },
  inheritAttrs: false, // 取消props自应用html属性的功能
  components: {
    list,
  },
};
</script>
<style lang="less" scoped>
.project-box {
  height: 100%;
  display: flex;
  flex-direction: column;
}
</style>
